package com.hr.mapper;

import com.hr.entity.Employee;

import java.util.List;

/**
 * @ClassName EmployeeMapper
 * @Description TODO
 * @Author hkp
 **/

public interface EmployeeMapper {
    //增加员工
    public int addEmp(Employee employee);
    //删除员工
    public int delEmp(int id);
    //更新员工信息
    public int updateEmp(Employee employee);
    //查找全体员工
    public List<Employee> queryAllEmp();
    //按照id查找员工
    public Employee queryEmp(int id);
}
